# Tanım: Java decompiler
# URL: https://varaneckas.com/jad
# Paketçi: Cihan_Alkan
# Gerekler:
# Grup: 

isim=jad
surum=1.5.8e
devir=1
kaynak=("https://varaneckas.com/$isim/${isim}${surum//./}.linux.static.zip"
        'https://varaneckas.com/jad::l.html')

derle() {

  grep '<blockquote>' -A18 l.html | cut -d'>' -f2 | cut -d'<' -f1 > LICENSE

  install -Dm755 "$isim" "$PKG/usr/bin/$isim"
  install -Dm644 Readme.txt "$PKG/usr/share/doc/$isim/README"
  install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
}